package com.chenl.provider.DEMOS.Spring.API使用;

import com.alibaba.ttl.TransmittableThreadLocal;

public class SendSmsResultThreadLocal  {
    private static final TransmittableThreadLocal<String> TTL_THREAD_LOCAL = new TransmittableThreadLocal();


    public static void set(String res){
        TTL_THREAD_LOCAL.set(res);
    }


    public static String get(){
        return TTL_THREAD_LOCAL.get();
    }

    public static void remove(){
        TTL_THREAD_LOCAL.remove();
    }
}